import { lazy } from 'react';

const dataGatewayRouter = [
  {
    path: '/dataGateway/supplier',
    name: '供应商管理',
    des: '',
    component: lazy(() => import('./External/Supplier')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/dataSource',
    name: '数据源管理',
    des: '',
    component: lazy(() => import('./External/DataSource')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/dataSource/add',
    name: '配置数据源',
    des: '',
    component: lazy(() => import('./External/DataSource/Add')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/dataSource/:id/edit',
    name: '编辑数据源',
    des: '',
    component: lazy(() => import('./External/DataSource/Add')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/dataSource/:id/detail',
    name: '查看数据源',
    des: '',
    component: lazy(() => import('./External/DataSource/Detail')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/interfaceManage',
    name: '三方数据接口',
    des: '',
    component: lazy(() => import('./Internal/InterfaceManage')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/interfaceManage/add',
    name: '三方数据接口配置',
    des: '',
    component: lazy(() => import('./Internal/InterfaceManage/Add')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/interfaceManage/:id/detail',
    name: '三方数据接口信息',
    des: '',
    component: lazy(() => import('./Internal/InterfaceManage/Detail')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/interfaceManage/:id/edit',
    name: '三方数据接口配置',
    des: '',
    component: lazy(() => import('./Internal/InterfaceManage/Add')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/databaseInterfaceManage',
    name: '行内数据源管理',
    des: '',
    component: lazy(() => import('./Internal/databaseInterfaceManage')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/databaseInterfaceManage/add',
    name: '行内数据源配置',
    des: '',
    component: lazy(() => import('./Internal/databaseInterfaceManage/Add')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/databaseInterfaceManage/:id/detail',
    name: '行内数据源信息',
    des: '',
    component: lazy(() => import('./Internal/databaseInterfaceManage/Detail')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/databaseInterfaceManage/:id/edit',
    name: '行内数据源配置',
    des: '',
    component: lazy(() => import('./Internal/databaseInterfaceManage/Add')),
    exact: true,
    auth: true,
  },
  // {
  //   path: '/dataGateway/mainSpareInterface',
  //   name: '主备接口',
  //   des: '',
  //   component: lazy(() => import('./Internal/mainSpareInterface')),
  //   exact: true,
  //   auth: true,
  // },
  // {
  //   path: '/dataGateway/mainSpareInterface/add',
  //   name: '主备接口配置',
  //   des: '',
  //   component: lazy(() => import('./Internal/mainSpareInterface/Add')),
  //   exact: true,
  //   auth: true,
  // },
  // {
  //   path: '/dataGateway/mainSpareInterface/:id/detail',
  //   name: '主备接口信息',
  //   des: '',
  //   component: lazy(() => import('./Internal/mainSpareInterface/Detail')),
  //   exact: true,
  //   auth: true,
  // },
  // {
  //   path: '/dataGateway/mainSpareInterface/:id/edit',
  //   name: '主备接口配置',
  //   des: '',
  //   component: lazy(() => import('./Internal/mainSpareInterface/Add')),
  //   exact: true,
  //   auth: true,
  // },
  // {
  //   path: '/dataGateway/shunt',
  //   name: '分流接口',
  //   des: '',
  //   component: lazy(() => import('./Internal/mainSpareInterface')),
  //   exact: true,
  //   auth: true,
  // },
  // {
  //   path: '/dataGateway/shunt/add',
  //   name: '分流接口配置',
  //   des: '',
  //   component: lazy(() => import('./Internal/mainSpareInterface/Add')),
  //   exact: true,
  //   auth: true,
  // },
  // {
  //   path: '/dataGateway/shunt/:id/detail',
  //   name: '分流接口信息',
  //   des: '',
  //   component: lazy(() => import('./Internal/mainSpareInterface/Detail')),
  //   exact: true,
  //   auth: true,
  // },
  // {
  //   path: '/dataGateway/shunt/:id/edit',
  //   name: '分流接口配置',
  //   des: '',
  //   component: lazy(() => import('./Internal/mainSpareInterface/Add')),
  //   exact: true,
  //   auth: true,
  // },
  {
    path: '/dataGateway/BillManage/feeDetail',
    name: '计费明细',
    des: '',
    component: lazy(() => import('./BillManage/FeeDetail')),
    exact: true,
    auth: true,
  },
  {
    path: '/dataGateway/BillManage/supplierBill',
    name: '供应商账单',
    des: '',
    component: lazy(() => import('./BillManage/SupplierBill')),
    exact: true,
    auth: true,
  },
];

export default dataGatewayRouter;
